home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12144 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: newsfeed.internetmci.com!panix!pwagner
  2. From: pwagner@panix.com (Peter Wagner)
  3. Newsgroups: comp.lang.c++
  4. Subject: Visual C++ - basic question regarding libraries
  5. Date: 18 Mar 1996 16:40:54 GMT
  6. Organization: Iguana Software, Inc.
  7. Message-ID: <4ik3mm$3gu@news1.panix.com>
  8. NNTP-Posting-Host: pwagner.dialup.access.net
  9. X-Newsreader: News Xpress Version 1.0 Beta #4
  10.  
  11. Isn't lovely that Microsoft doesn't give you manuals when you buy Visual C++? 
  12.  Grrrrr!
  13.  
  14. I'm using VC++ 1.51 on Windows for Workgroups.
  15.  
  16. I have a very simple question.  How does the CL compiler know which 
  17. directories to search for libraries?  Is there an environment variable?  I 
  18. couldn't find a command line switch.  When I compile at the command line, the 
  19. compiler asks where to find
  20.  
  21.     oldnames.lib
  22.     slibce.lib
  23.  
  24. I can specify where these are, but I'd like to avoid having to specify the 
  25. full pathname or typing it in when the compiler asks.
  26.  
  27. While I'm here, I'll ask another question.  I have a very simple program that 
  28. includes stdio.h.  For some reason, the compiler balks at almost 
  29. everything in that file.  A long list of errors is generated.  I don't know 
  30. why it's balking here in this standard header (any ideas), but my real problem 
  31. is this:  Once this error occurs, I'm hosed.  VC++ still thinks it's building, 
  32.  and won't respond to the "Stop Build Process" menu item.  At this point, I 
  33. can't do anything in VC++ w/o rebooting.  It won't let me quit, since it 
  34. thinks it's still building.  Arrgghh!  It's frustrating.  I know that real 
  35. answer is to upgrade to NT (or 95) and use 4.0, but I'm stuck with this for 
  36. now.  Has anyone else seen this sort of problem?  Workarounds?
  37.  
  38. Thanks in advance!
  39.  
  40.     >p
  41.  
  42.  
  43.  
  44. -
  45. ==============================================================
  46. Peter Wagner
  47. Iguana Software, Inc.
  48. pwagner@panix.com
  49.